<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{$data.title}_美动传媒</title>
<!-- <link rel="stylesheet/less" href="__PUBLIC__/css/style.less" />
<script src="__PUBLIC__/js/less-1.5.0.min.js"></script> -->
<link rel="stylesheet" href="__PUBLIC__/css/style.css" />

<link rel="stylesheet" href="__PUBLIC__/css/font-awesome.min.css">

<!--[if IE]>
   <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->


</head>
<body>
<header class="cc">
	<a href="__MODULE__/Index/index" class="logo">嘉兴社区平台</a>
	<div class="search">
	  <form action="__MODULE__/Act/index" method="get">
		<input type="text" name="keyword" class="k" value='{$keyword}'>
		<button type="submit" class="icon-search"></button>
	  </form>	
	</div>
	<div class="sns-contact">
		<div class="sns">r
			<a href="" class="weixin">weixin</a>
			<a href="" class="weibo">weibo</a>
			<a href=""  class="qq">qq</a>
		</div>
		<div class="contact">
			<a href="">联系我们</a> |
			客服电话：0573-83778008
		</div>
	</div>
</header>

<nav>
	<include file="Public:nav" />
</nav>

<div class="home-index">
	<ol class="breadcrumb">
	  <li>首页</li>
	  <li class="active">
	  	<a href="__URL__/index">活动</a>
	  	</li>
	 
	</ol>
	<div class="article">
		<h1>{$data.title}</h1>
		<p class="article-info">
			发布于：{$data.created_at|date="Y.m.d",###} 作者：{$data.author}
		</p>
		<div class="content">
			{$data.content}		
		</div>
		<p class="article-info">
			活动起止时间：{$data.start_at|date="Y.m.d",###}--{$data.end_at|date="Y.m.d",###}
		</p>
		
		 
			 <if condition="$data.start_at gt $now"> 
				<a href="javascript:;" class="btn btn-primary btn-join">
				 敬请期待
				 </a> 
			<elseif condition="$data.end_at lt $now"/>
				<a href="javascript:;" class="btn btn-primary btn-join">
				活动已过期
				 </a>
			<else />
				<a href="__MODULE__/ActData/joinAct/id/{$data.id}" class="btn btn-primary btn-join">
				 点击报名
				 </a>
			</if>
		 
		 
			
	</div>
	
</div>

<footer>
	<p>公司地址：嘉兴市南湖区富民路105号（嘉兴国际创意文化产业园内）</p>
	<p>电话：0573-83778008   传真：0573-82623018  电子邮箱：meidong@vip.sina.com</p>
	<p>Copyright 2012 Shequlianbo.com 美动传媒 </p>

</footer>
</body>
</html>